package com.etocrm.saas.lib.base.common.enums;

import com.etocrm.saas.lib.base.common.enums.base.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 删除标记枚举
 * Created by Xs on 2022/12/5.
 */
@AllArgsConstructor
@NoArgsConstructor
public enum DeleteFlagEnum implements BaseEnum {
    NOT_DELETED(0, "未删除"),
    DELETED(1, "已删除");

    private Integer code;
    private String desc;


    @Override
    public String getDesc() {
        return this.desc;
    }

    @Override
    public Integer getValue() {
        return this.code;
    }
}
